package com.sunshine.pay.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * 合并后的订单表(OrdersCombined)实体类
 *
 * @author makejava
 * @since 2025-09-24 17:36:02
 */
public class OrdersCombined implements Serializable {
    private static final long serialVersionUID = 454664708820448497L;
/**
     * 订单唯一标识符
     */
    private Long orderId;
/**
     * 订单编号
     */
    private String orderNo;
/**
     * 下单用户ID
     */
    private Long userId;
/**
     * 关联商品ID
     */
    private Long productId;
/**
     * 关联SKUID（已弃用）
     */
    private Long skuId;
/**
     * 商品名称
     */
    private String productName;
/**
     * 购买数量
     */
    private Integer quantity;
/**
     * 单价
     */
    private Double price;
/**
     * 订单总金额
     */
    private Double totalAmount;
/**
     * 订单状态（1-待支付，2-已支付，3-已发货，4-已完成，5-已取消）
     */
    private Integer status;
/**
     * 支付时间
     */
    private Date paymentTime;
/**
     * 创建时间
     */
    private Date createdAt;


    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public Long getSkuId() {
        return skuId;
    }

    public void setSkuId(Long skuId) {
        this.skuId = skuId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Double getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(Double totalAmount) {
        this.totalAmount = totalAmount;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getPaymentTime() {
        return paymentTime;
    }

    public void setPaymentTime(Date paymentTime) {
        this.paymentTime = paymentTime;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

}

